projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d3e8b
)
Fix url's thing-at-point beginning-op (Bug#32028)
author
Raimon Grau
<raimonster@gmail.com>
Sun, 1 Jul 2018 20:31:08 +0000
(21:31 +0100)
committer
Noam Postavsky
<npostavs@gmail.com>
Sun, 29 Jul 2018 16:07:07 +0000
(12:07 -0400)
* lisp/thingatpt.el (url): Fix beginning-op making.
lisp/thingatpt.el
patch
|
blob
|
history
diff --git
a/lisp/thingatpt.el
b/lisp/thingatpt.el
index 7fe99b0714c057fbe51017cfd727595d1750d216..6a978fe96eff7476269c8283ffa6ed746e6584d4 100644
(file)
--- a/
lisp/thingatpt.el
+++ b/
lisp/thingatpt.el
@@
-474,7
+474,7
@@
looks like an email address, \"ftp://\" if it starts with
(put 'url 'end-op (lambda () (end-of-thing 'url)))
-(put 'url 'beginning-op (lambda () (
end
-of-thing 'url)))
+(put 'url 'beginning-op (lambda () (
beginning
-of-thing 'url)))
;; The normal thingatpt mechanism doesn't work for complex regexps.
;; This should work for almost any regexp wherever we are in the